package com.zixue.heima.nio;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.SocketChannel;

/**
 * @ClassName : ClientDemo
 * @Description : TODO
 * @Author : chunxiong
 * @Date : 2025/4/16 12:44
 * @Version 1.0
 */
public class ClientDemo {
    public static void main(String[] args) throws IOException {
        SocketChannel sc = SocketChannel.open();
        sc.connect(new InetSocketAddress("localhost",8080));
             System.out.println("wait....");

    }
}
